
homeController.$inject = ['$http','$scope']
function homeController($http,$scope) {
    alert('this is home page');
    $scope.users = [];
    $http.get('O2OAdministrator/api/users/2222')
        .then(function(data){
            console.log(JSON.stringify(data.data));
            $scope.users = data.data.data;
        });
}

module.exports = homeController;